package com.cn.kabalifeuser.utils;

import java.text.DecimalFormat;

/**
 * Created by 晓林 on 2020/9/11.
 * function:
 */
public class DoubleUtil {
    DecimalFormat df = new DecimalFormat("#.00");


    public String DouData(Double d) {
        return df.format(d);
    }

    public String StrData(String d) {
        return df.format(d);
    }
}
